#pragma once

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <windows.h>

#define ROW 9
#define COL 9
#define MINECNT 10
#define ROWS ROW + 2
#define COLS COL + 2

void InitBoard(char arr[ROWS][COLS], int rows, int cols, char set);

void ShowBoard(char arr[ROWS][COLS], int row, int col);

void SetMine(char arr[ROWS][COLS], int row, int col, int count);

void CNT(char mine[ROWS][COLS], char show[ROWS][COLS], int x, int y, int count[1]);
